import {get,post} from './net'
 
let apiFun = {}

apiFun.addGood = p => post('addGood', p, {})
apiFun.addComment = p => post('addComment', p, {})
apiFun.removeComment = p => post('removeComment', p, {})
apiFun.removeGood = p => post('removeGood', p, {})
apiFun.removeUser = p => post('removeUser', p, {})
apiFun.manageData = p => post('manageData', p, {})
apiFun.getLike = p => post('getLike', p, {})
apiFun.postLogin = p => post('login', p, {})
apiFun.addLike = p => post('addLike', p, {})
apiFun.postRegister = p => post('register', p, {})
apiFun.requestData = p => post('requestData', p, {})
export default apiFun;